package com.zenithsun.pic.picsubject.service;

import com.syzg.common.service.BaseService;
import com.syzg.core.page.PageResult;
import com.zenithsun.pic.picsubject.model.Picsubject;

public interface PicsubjectService extends BaseService<Picsubject> {
	
	/**
	 * 查看图片库信息
	 * @param id ID
	 * @return
	 * @throws Exception
	 */
	public Picsubject findPicsubjectById(String id) throws Exception;
	
	  /**
	   * 我的图片库分页
	   * @param pageNo 当前页
	   * @param limit 页行数
	   * @param pics
	   * @return
	   * @throws Exception
	   */
	public PageResult findPicSubjectByList(int pageNo, int limit, Picsubject pics, String year, String month) throws Exception;
	
	  /**
	   * 查询分享出来的图片库分页
	   * @param pageNo 当前页
	   * @param limit 页行数
	   * @param pics
	   * @return
	   * @throws Exception
	   */
	public PageResult findSharePicSubjectByList(int pageNo, int limit, Picsubject pics) throws Exception;
}
